package view;
import java.awt.Color;
import java.awt.event.MouseEvent;
import java.awt.event.MouseListener;
import javax.swing.JPanel;
import javax.swing.JLabel;


/**
 * 
 */

/**
 * @author Leo COLLET, Nelle VAROQUAUX
 *
 */
public class VisuHabit extends JPanel implements MouseListener {

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	private static final JLabel title = new JLabel("Visualisation habit");
	
	public VisuHabit(){
		super();
		this.build();
	}

	private void build() {
		//this.setLayout(new FlowLayout());
		this.setBounds(387, 70, 300, 650);
		this.setBackground(Color.LIGHT_GRAY);
		this.add(title);
		this.setVisible(true);

	}

	@Override
	public void mouseClicked(MouseEvent arg0) {
	    System.out.println("User Clicked on VisuHabit");	
	}

	@Override
	public void mouseEntered(MouseEvent arg0) {
		// TODO Auto-generated method stub
		
	}

	@Override
	public void mouseExited(MouseEvent arg0) {
		// TODO Auto-generated method stub
		
	}

	@Override
	public void mousePressed(MouseEvent arg0) {
		// TODO Auto-generated method stub
		
	}

	@Override
	public void mouseReleased(MouseEvent arg0) {
		// TODO Auto-generated method stub
		
	}
	
}
